// 设置当前页面路由
function setRouter(path) {
    // 仅在客户端执行
    if(process.client) {
        try {
            localStorage.setItem('router', path)
        } catch (error) {}
    }
}

export default {
    setRouter: setRouter
}
